<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表格</title>

    <link rel="stylesheet" href="css/lib/elemeny-ui/index.css">
</head>
<body>
<div id = "app">
    <el-button type="primary" @click="getData()">{{text}}</el-button>

    <el-table :data="list" stripe style="width: 100%">
        <el-table-column prop="id" label="id"  width="180"> </el-table-column>
        <el-table-column prop="title" label="标题" width="180"> </el-table-column>
        <el-table-column prop="readname" label="阅读状态"> </el-table-column>
        <el-table-column prop="replyname" label="回复状态"  width="180"> </el-table-column>
        <el-table-column prop="recusername" label="接收人" width="180"> </el-table-column>
        <el-table-column prop="createusername" label="创建人"> </el-table-column>
    </el-table>

</div>
</body>
<script src="js/lib/vue.js"></script>
<script src="js/lib/axios.min.js"></script>
<script src="js/lib/element-ui/index.js"></script>
<script src="js/table2.js"></script>
</html>